﻿using System.ComponentModel.DataAnnotations;

namespace BW.Rabbit.Domain
{
    /// <summary>
    /// 用户表
    /// </summary>
    public class UserInfo
    {
        /// <summary>
        /// 主键id
        /// </summary>
        [Key]
        public int UserId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public int Gender { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public string Birthday { get; set; }
        /// <summary>
        /// 禁用状态
        /// </summary>
        public bool IsLock { get; set; }
        /// <summary>
        /// 错误次数
        /// </summary>
        public int ErrCount { get; set; }
        /// <summary>
        /// 删除标志
        /// </summary>
        public bool IsDel { get; set; }
    }
}
